package com.infotel.prefecture.model;



public class CarteGrise {

    private String immatriculation;
    private Etat etat;
    private Vehicule vehicule;
    private Proprietaire proprietaire;
    private int puissanceAdministrative;

    public CarteGrise() {
    }

    public CarteGrise(String immatriculation, int puissanceAdministrative) {
        this.immatriculation = immatriculation;
        this.puissanceAdministrative = puissanceAdministrative;
    }

    public CarteGrise(String immatriculation, Etat etat, Vehicule vehicule,
            Proprietaire proprietaire, int puissanceAdministrative) {
        super();
        this.immatriculation = immatriculation;
        this.etat = etat;
        this.vehicule = vehicule;
        this.proprietaire = proprietaire;
        this.puissanceAdministrative = puissanceAdministrative;
    }

    public String getImmatriculation() {
        return immatriculation;
    }

    public void setImmatriculation(String immatriculation) {
        this.immatriculation = immatriculation;
    }

    public int getPuissanceAdministrative() {
        return puissanceAdministrative;
    }

    public void setPuissanceAdministrative(int puissanceAdministrative) {
        this.puissanceAdministrative = puissanceAdministrative;
    }

    public Etat getEtat() {
        return etat;
    }

    public void setEtat(Etat etat) {
        this.etat = etat;
    }

    public Vehicule getVehicule() {
        return vehicule;
    }

    public void setVehicule(Vehicule vehicule) {
        this.vehicule = vehicule;
    }

    public Proprietaire getProprietaire() {
        return proprietaire;
    }

    public void setProprietaire(Proprietaire proprietaire) {
        this.proprietaire = proprietaire;
    }

    @Override
    public String toString() {
        return "CarteGrise [immatriculation=" + immatriculation
                + ", puissanceAdministrative=" + puissanceAdministrative + "]";
    }
}
